using LowCoding.Domain;
using SqlSugar;

namespace LowCoding.Dto.Sys
{
    /// <summary>
    /// 企业表
    /// </summary>
    public class SysCompanySearchInput : PagedSearchBase
    {
        /// <summary>
        /// 企业代码
        /// </summary>
        [Search(ConditionalType = ConditionalType.Like, FieldName = "FLT_CODE")]
        public string code { get; set; }

        /// <summary>
        /// 企业全称
        /// </summary>
        [Search(ConditionalType = ConditionalType.Like, FieldName = "FLT_NAME")]
        public string name { get; set; }

        /// <summary>
        /// 企业简称
        /// </summary>
        [Search(ConditionalType = ConditionalType.Like, FieldName = "FLT_SHORTNAME")]
        public string sname { get; set; }

        /// <summary>
        /// 企业类型
        /// </summary>
        [Search(ConditionalType = ConditionalType.Equal, FieldName = "FLT_TYPE")]
        public string type { get; set; }

        /// <summary>
        /// 状态(是否激活)
        /// </summary>
        [Search(ConditionalType = ConditionalType.Equal, FieldName = "FLT_STATUS")]
        public string status { get; set; }
        /// <summary>
        /// 卖家认证状态
        /// </summary>
        [Search(ConditionalType = ConditionalType.Equal, FieldName = "FLT_SELLERCERTIFICATION_STU")]
        public string FLT_SELLERCERTIFICATION_STU { get; set; }
        /// <summary>
        /// 买家认证状态
        /// </summary>
        [Search(ConditionalType = ConditionalType.Equal, FieldName = "FLT_CERTIFICATION_STU")]
        public string FLT_CERTIFICATION_STU { get; set; }

    }

    /// <summary>
    /// 企业管理查询
    /// </summary>
    public class CompanySearchInput : PagedSearchBase
    {
        /// <summary>
        /// 企业名称
        /// </summary>
        public string name { get; set; }

    }
}